package com.senseuni.da.db.entity

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "app_media")
class MediaEntity {

    @PrimaryKey(autoGenerate = true)
    var id: Long = 0
    var uuid: String = ""
    var username: String = ""
    var path: String = ""
    var timestamp: Long = 0
    var remark: String = ""
    @ColumnInfo(name = "file_name")
    var fileName:String = ""
    @ColumnInfo(name = "mime_type")
    var mimeType: String = ""
    @ColumnInfo(name = "file_zie")
    var fileSize: Long = 0
    var duration: Long = 0
    var width:Int = 0
    var height: Int = 0
    @ColumnInfo(name = "bit_rate")
    var bitRate: Int = 0
    @ColumnInfo(name = "frame_rate")
    var frameRate: Int = 0
    @ColumnInfo(name = "aspect_ratio")
    var aspectRatio:Float = 0f
    var codec:String = ""
    var source: String = ""
    @ColumnInfo(name = "create_time")
    var createDate:Long = 0

    var hide:Boolean = false

}